﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface ISalesOrder
    {
        OperationResult<List<tb_SalesOrder>> GetAllSalesOrder();
        OperationResult<tb_SalesOrder> GetSalesOrderById(int id);
        OperationResult<tb_SalesOrder> GetSalesOrderByContranctSN(string strContranctSN);
        OperationResult<tb_SalesOrder> CreateSalesOrder(tb_SalesOrder entity);
        OperationResult<tb_SalesOrder> ModifySalesOrder(tb_SalesOrder entity);
        OperationResult<tb_SalesOrder> DeleteSalesOrder(tb_SalesOrder entity);
    }
}
